package io.bdmc.modules.bss.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import io.bdmc.common.utils.MyPage;
import io.bdmc.modules.bss.entity.DeviceMachineFsp;
import io.bdmc.modules.bss.mapper.DeviceMachineFspMapper;
import io.bdmc.modules.bss.service.IDeviceMachineFspService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * FSP盘数据 服务实现类
 * </p>
 *
 * @author 黄露
 * @since 2021-04-28
 */
@Service
public class DeviceMachineFspServiceImpl extends ServiceImpl<DeviceMachineFspMapper, DeviceMachineFsp> implements IDeviceMachineFspService {
    @Autowired
    DeviceMachineFspMapper _devicemachinefspMapper;

    @Override
    public MyPage<DeviceMachineFsp> mySelectPage(MyPage<DeviceMachineFsp> myPage) {
        return _devicemachinefspMapper.mySelectPage(myPage);
    }

    @Override
    public DeviceMachineFsp selectLastFspData(String diskSn) {
        return _devicemachinefspMapper.selectLastFspData(diskSn);
    }

    @Override
    public MyPage<DeviceMachineFsp> selectPage(MyPage<DeviceMachineFsp> myPage, QueryWrapper<DeviceMachineFsp> w1) {
        return _devicemachinefspMapper.selectPage(myPage,w1);
    }
}
